SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '16cb57290f310615eb05f52bbfecfe3b0f4f2a598b7aea2c15db6c7c0be1ba77' 
  AND token = 'Eqcp7kPmrBkNVJ4AX5uQdMN8wcoFAWUD+KvAhfYdWLs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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