SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '771da346bdc524f992c71e9b04f17b1c186a8abe8eb17cde687f2802d105ff2a' 
  AND token = 'r2JZ38pdJbQQZekzCrYFTAgasvs1jTC7frcjFcf3Xmk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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