SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '313c6913752a896a195cfed116cccc6cd4d4aa5a2f50a4bc1c3009fbbe0f37c5' 
  AND token = 'mGbbAWPsrPtImg9CRY4oW91uCgt9lVQ1m152QchV44U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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