SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd923ea4d876476f00f02171841cae01a843ba5c2342b291a5e58ce7fc51a2dbc' 
  AND token = 'mGXGY42pOKtFh536KM76O99loklE/WBO8+OFWvAsMx0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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