SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17bda8728e99f5751114770615a20dfd557558bde0c40638b3e1781bfbc47882' 
  AND token = 'kS4qF4PJ0mD0RB1JA8G+DJjmDWweacw+1S9mxmYXOu0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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