SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0afc7214e42f47f0eba34a2306d8aec2dcdef3eaaae78ef7bd64c6b0b3f767b7' 
  AND token = 'OkJzbp21lhmz0R718iYCsA0LoiMfU3X4ukRmPhAJY3c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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