SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2e4d4098f7f75c8065ba7c3fcfcb1d2ac88b7589a0ee7861019c39763ac0b4aa' 
  AND token = 'jjh4jg5ulJ2+QiKLY81VsvTv22whE99y08yAZVT9syw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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