SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6bd163bbec26f80a3e6e2f27901e3495b1552773baa8787a393ec685fd065b2c' 
  AND token = 'kycq1UBigK2WrHTqEbRO0HzJW3Ms8aODk3QaBltg9mw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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