SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9e823e0fe5181a08ff98c38a0528eeeb23ba160a15a14ba8171d3ee011764ca9' 
  AND token = 'G8vpcpSiEvd32fASkPbOf05iS/Bi/m5pNf9uhgK2oAo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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