SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7fe4eea77bfc20b984a1b52ca85d5f09862f2bcc2ba6027a21ac6a914cc514fa' 
  AND token = '40NPof3ys6rwNDDNxz32CJPuV7R8sp3CQHpzveTzjfY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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