SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bcc2d7f2f7ccce8b87e714816d143674de7fc081d7afcd279e70bde5e1409696' 
  AND token = 'IT8mp4ECKKKHgYIev21ynyPu8znrV7TXFJ4bqKzs0gM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}