SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3b7898b23b094e6e6b095e45b9f9beb6871b1b780148b397c681ff1864011db3' 
  AND token = 'ec8w0e/iw3DaqLYlbn9wIA1TTQ5l9xbcQ/cgYGDffLY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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