SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c6cda20172cdc7f62cd7708463f749cab832239dc03805ad65f605c24e3b3164' 
  AND token = 'P1O/96rtWxfAHOfq2ddlnDGp5vBTALVXKHtQWkakKzk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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