SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0995c2d35151f81946990a430a0c3426576216f15e35e2714ba499f572d04b77' 
  AND token = 'gnshq0UB01ZDO0HORxg5ENaEZhmRjfohdVV3SpKA8l8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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