SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '39e0ce1a394f52d16c1fd2600e284512c295c1005d8bed453990e9921b2e206a' 
  AND token = 'A1W2po2otdwr//JpulFKwskwpbzQab6J1SRvaTfCvgA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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