SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1bca7067c244fab075e88faf4fc9888e7641e1d2848820aa8c24933e2053f930' 
  AND token = '6DdnHoWZGOk6BhqwiqjOFLcs0pFo0VyFUA+/aflmfP4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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